﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Runda.EShop.Common.Entity;
using Runda.EShop.Bll;

namespace Runda.EShop.SaaS.Shared
{
    public partial class MyInfo : BasePage
    {
        public override string FunctionID
        {
            get
            {
                return "Func0110";
            }
        }

        public override bool IsCheckAccessible
        {
            get
            {
                return false;
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                SysUserEntity entity = new SystemBll().Get<SysUserEntity>(base.User.Identity.LoginUser.UserID);

                ltlAccount.Text = entity.Account;
                ltlDeptName.Text = entity.DeptName;
                ltlEmail.Text = entity.Email;
                ltlName.Text = entity.UserName;
            }
        }
    }
}